/**   
 * @Project: SpringInAction 
 * @Title: PeopleTalk.java 
 * @Package net.weamor.spring.principle 
 * @Description: TODO 
 * @author weamor
 * @date 2015年11月9日 下午7:51:06 
 * @version V1.0   
 */
package net.weamor.spring.principle;

/** 
 * @ClassName PeopleTalk  
 * @Description TODO 
 * @author weamor
 * @date 2015年11月9日  
 *   
 */
public class PeopleTalk implements ITalk {

	public String username;
	public String age;

	public PeopleTalk() {
		
	}
	
	public PeopleTalk(String username, String age) {
		this.username = username;
		this.age = age;
	}

	public void talk(String msg) {
		System.out.println(msg + "!你好,我是" + username + "，我年龄是" + age);
	}

	public String getName() {
		return username;
	}

	public void setName(String name) {
		this.username = name;
	}

	public String getAge() {
		return age;
	}

	public void setAge(String age) {
		this.age = age;
	}

}
